package com.smq.chatserver.services;

import com.baomidou.mybatisplus.extension.service.IService;
import com.smq.chatserver.bean.Result;
import com.smq.chatserver.bean.message.ImMessage;
import com.smq.chatserver.bean.message.Message;
import com.smq.chatserver.bean.message.MessageQueryResult;

import java.util.List;

public interface MessageService extends IService<Message> {

    Result<MessageQueryResult> query(String userId, Long time);
    Result<ImMessage> sendText(String msgId, String to, Integer ope, String msg, String userId);


}
